Package com.cisco.pt.ipc.sim.pdu.impl
Class H323MessageImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.H323MessageImpl
- All Implemented Interfaces:
IPCData,H323Message,Header,Pdu,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected booleanprotected MACAddressprotected H323MessageTypeprotected intprotected StringFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) booleangetFieldType(String fieldName) intvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetCalledNumber(String calledNumber) voidsetCalledPhoneState(String calledPhoneState) voidsetCallerNumber(String callerNumber) voidsetDisplayCallerFlag(boolean displayCallerFlag) voidsetMacAddress(MACAddress macAddress) voidsetMsgType(H323MessageType msgType) voidsetRtpPort(int rtpPort) voidsetStrIpAddress(String strIpAddress) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
msgType
-
rtpPort
protected int rtpPort -
macAddress
-
strIpAddress
-
callerNumber
-
calledNumber
-
displayCallerFlag
protected boolean displayCallerFlag -
calledPhoneState
-
-
Constructor Details
-
H323MessageImpl
public H323MessageImpl()
-
-
Method Details
-
getMsgType
- Specified by:
getMsgTypein interfaceH323Message- Returns:
- H323MessageType Returns a H323MessageType
-
setMsgType
- Specified by:
setMsgTypein interfaceH323Message- Parameters:
msgType- Takes in a parameter of msgType
-
getRtpPort
public int getRtpPort()- Specified by:
getRtpPortin interfaceH323Message- Returns:
- int Returns a int
-
setRtpPort
public void setRtpPort(int rtpPort) - Specified by:
setRtpPortin interfaceH323Message- Parameters:
rtpPort- Takes in a parameter of rtpPort
-
getMacAddress
- Specified by:
getMacAddressin interfaceH323Message- Returns:
- MACAddress Returns a MACAddress
-
setMacAddress
- Specified by:
setMacAddressin interfaceH323Message- Parameters:
macAddress- Takes in a parameter of macAddress
-
getStrIpAddress
- Specified by:
getStrIpAddressin interfaceH323Message- Returns:
- String Returns a String
-
setStrIpAddress
- Specified by:
setStrIpAddressin interfaceH323Message- Parameters:
strIpAddress- Takes in a parameter of strIpAddress
-
getCallerNumber
- Specified by:
getCallerNumberin interfaceH323Message- Returns:
- String Returns a String
-
setCallerNumber
- Specified by:
setCallerNumberin interfaceH323Message- Parameters:
callerNumber- Takes in a parameter of callerNumber
-
getCalledNumber
- Specified by:
getCalledNumberin interfaceH323Message- Returns:
- String Returns a String
-
setCalledNumber
- Specified by:
setCalledNumberin interfaceH323Message- Parameters:
calledNumber- Takes in a parameter of calledNumber
-
getDisplayCallerFlag
public boolean getDisplayCallerFlag()- Specified by:
getDisplayCallerFlagin interfaceH323Message- Returns:
- boolean Returns a boolean
-
setDisplayCallerFlag
public void setDisplayCallerFlag(boolean displayCallerFlag) - Specified by:
setDisplayCallerFlagin interfaceH323Message- Parameters:
displayCallerFlag- Takes in a parameter of displayCallerFlag
-
getCalledPhoneState
- Specified by:
getCalledPhoneStatein interfaceH323Message- Returns:
- String Returns a String
-
setCalledPhoneState
- Specified by:
setCalledPhoneStatein interfaceH323Message- Parameters:
calledPhoneState- Takes in a parameter of calledPhoneState
-
getFieldType
- Overrides:
getFieldTypein classHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classHeaderImpl
-